package com.example.mallauthserver.feign;

import com.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @author guanglin.ma
 * @date 2024-01-03 20:18
 */
@FeignClient("mall-third-party")
@Component
public interface ThirdPartyFeignService {

    @GetMapping("/sms/sendcode")
    public R sendSmsCode(@RequestParam("phone") String phone, @RequestParam("code") String code);
}
